<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<%@ page import="java.util.Iterator" %>
<%@ page import="java.util.Collection" %>
<%@ page import="org.vectrics.location.Location" %>


<vectrics:errors/>


<html:form action="/admin/user/save" method="POST">
	<html:hidden property="userId"/>
	<table>
		<tr>
			<td valign="top" width="150">
				<font class="formLabelClass">&nbsp;User Name<b> *</b></font>
			</td>
			<td valign="top">
				<html:text property="userName" styleClass="formEditClass" maxlength="16"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;Password<b> *</b></font>
			</td>
			<td valign="top">
				<html:password property="password" styleClass="formEditClass" maxlength="16"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;Confirm Password<b> *</b></font>
			</td>
			<td valign="top">
				<html:password property="password2" styleClass="formEditClass" maxlength="16"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;First Name<b> *</b></font>
			</td>
			<td valign="top">
				<html:text property="firstName" styleClass="formEditClass" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;Last Name<b> *</b></font>
			</td>
			<td valign="top">
				<html:text property="lastName" styleClass="formEditClass" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;Known As</font>
			</td>
			<td valign="top">
				<html:text property="knownAs" styleClass="formEditClass" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr><td valign="top"><font class="formLabelClass">&nbsp;Prefix</font></td><td valign="top"><input value="" class="formEditClass" name="prefix" type="text"></td></tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Marital Status</font></td>
			<td valign="top">
				<html:select property="maritalStatus" styleClass="formComboClass">
					<html:option value="">Not Given</html:option>
					<html:option value="m">Married</html:option>
					<html:option value="s">Single</html:option>
					<html:option value="d">Divorce</html:option>
				</html:select>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Gender</font></td><td valign="top">
				<html:select property="gender" styleClass="formComboClass">
					<html:option value=""></html:option>
					<html:option value="m">Male</html:option>
					<html:option value="f">Female</html:option>
				</html:select>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Primary E-Mail<b> *</b></font></td>
			<td valign="top"><input value="" class="formEditClass" name="e_mail" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;Secondary E-Mail</font>
			</td>
			<td valign="top">
				<html:text property="email2" styleClass="formEditClass" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Work Phone</font></td>
			<td valign="top">
				<html:text property="workPhone" styleClass="formEditClass" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Home Phone</font></td>
			<td valign="top">
				<html:text property="homePhone" styleClass="formEditClass" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Mobile Phone</font></td>
			<td valign="top"><input value="" class="formEditClass" name="cell_phone" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2">
				<table cellpadding="3" cellspacing="0"><tr><td valign="TOP"></td></tr></table>
			</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2">
				<font class="header2">Home Address<br><br></font>
			</td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Address</font></td>
			<td valign="top"><input value="" class="formEditClass" name="home_Address1" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;Address 2</font>
			</td>
			<td valign="top"><input value="" class="formEditClass" name="home_Address2" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;City</font>
			</td>
			<td valign="top"><input value="" class="formEditClass" name="home_City" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;State</font></td>
			<td valign="top"><input value="" class="formEditClass" name="home_State" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Zip</font></td>
			<td valign="top"><input value="" class="formEditClass" name="home_PostalCode" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"><font class="header2">Work Address<br><br></font></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Address</font></td>
			<td valign="top"><input value="" class="formEditClass" name="work_Address1" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Address 2</font></td>
			<td valign="top"><input value="" class="formEditClass" name="work_Address2" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top">
				<font class="formLabelClass">&nbsp;City</font>
			</td>
			<td valign="top"><input value="" class="formEditClass" name="work_City" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;State</font></td>
			<td valign="top"><input value="" class="formEditClass" name="work_State" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="top"><font class="formLabelClass">&nbsp;Zip</font></td>
			<td valign="top"><input value="" class="formEditClass" name="work_PostalCode" type="text"></td>
		</tr>
		<tr>
			<td valign="TOP" colspan="2"></td>
		</tr>
		<tr>
			<td valign="TOP" align="left"></td>
			<td valign="TOP" align="left"><input name="submit" type="submit" value="Submit">&nbsp;<input name="cancel" type="submit" value="Cancel"></td>
		</tr>
	</table>
</html:form>

